package com.fadis;

public class FadisException extends RuntimeException {

    private int code = 0;
    private String msg = "";

    public FadisException() {
    }

    public FadisException(int code, String message) {
        super(message);
        this.code = code;
        this.msg = message;
    }

    public FadisException(int code, String message, Throwable cause) {
        super(message, cause);
        this.code = code;
        this.msg = message;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
